package com.atguigu.gmall.weball;

import com.atguigu.gmall.common.interceptors.annotation.EnableUserAuthFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableUserAuthFeignInterceptor
@SpringCloudApplication
@EnableFeignClients(basePackages = {
        "com.atguigu.gmall.feign"})
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) 启动不加载数据源
public class WebAllApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebAllApplication.class);
    }
}
